package increment3;

import javax.swing.*;
import java.awt.*;

public class demo  extends JFrame {
    private JButton start;
    private JTextField min, label,sec;
    private GUIFunc func = new GUIFunc();

    int time;
    public demo(){
        setLayout(new GridLayout(1,4));
        setBounds(500,300,500,300);
        setVisible(true);
        add(new mp());
        func.windowClosing();
    }
    class mp extends JPanel{
        @Override
        public void paint(Graphics g) {
            g.drawLine(100,100,120,100);
            g.clearRect(100,100,100,100);
            g.drawArc(50,50,20,20,270,180);
            g.drawLine(50,70,50,100);
        }
    }
    public static void main(String[] args) {
        new demo();
    }
}
